<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		    var arr=[1,2,3,4,5,6];
		    function Reverse(){
              var arr1=[];
		      for(var i=arr.length-1;i>=0;i--){
                    arr1.push(arr[i]);
		   } 
            return arr1;
		   }
		   var a = Reverse(arr);
		   console.log(a);
	</script>
</head>
<body>
	
</body>
</html>